<!-- siteheader -->
<% 
move = ""
if not post :
    move = "move"
else:
    if post.article.type.prefix != "builder" and post.article.type.prefix != "house":
        move = "move"
    else:
        move = ""
endif
%>
<div id="siteheader_maruwakari" class="${move}">
    
    <span class="boxleft">
    <!-- PAGE DISPLAY -->
    %if post :
    <div class="headdisplay" style="position:relative;">
    <img src="/common/img/display/${ post.article.type.prefix }.png" style="max-width:320px;" alt=""/>
    <div style="position:absolute;bottom:5px;left:5px;">
    <% posts = AT.GetPostsByKey('builder',str(post.key)) %>
    %for contents in posts:
    <h4>${ contents.GetField('name') }</h4>
    %endfor
    %if post.article.type.prefix != 'builder':
    <div>${ post.title }</div>
    %endif
    </div>
    </div>
    %else:
        %if id == "index":
        <img src="/common/img/display/${ id }.png" style="max-width:320px;"alt=""/>
        %else:
        <img src="/common/img/display/${ id }.png" style="max-width:320px;"alt=""/>
        %endif
    %endif
    <br clear="all"/>
    <span id="topback" style="position:absolute;top:400px;left:0;"><a href="/">HOME</a></span>

    </span>


</div>


